import Vue from 'vue';
import VueRouter from 'vue-router'

Vue.use(VueRouter)

export default new VueRouter({
    routes: [
        {
            path: '/',
            redirect: '/Home',
        },
        {
            path: '/Home',
            component: resolve => require(['../pages/Home/index.vue'], resolve),
        },
        {
            path: '/JianKongYunWei',
            component: resolve => require(['../pages/JianKongYunWei/index.vue'], resolve),
        },
        {
            path: '/AnJianTongJi',
            component: resolve => require(['../pages/AnJianTongJi/index.vue'], resolve),
        },
        {
            path: '/ChangSuoGuanKong',
            component: resolve => require(['../pages/ChangSuoGuanKong/index.vue'], resolve),
        },
        {
            path: '/HuJiRenKou',
            component: resolve => require(['../pages/HuJiRenKou/index.vue'], resolve),
        },
    ]
})
